package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.R;
import com.isunland.managesystem.entity.PayAndBackParams;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: wangyanan
 * 创建时间: 2016/12/16 15:44
 */

public class PayAndBackActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    PayAndBackParams params = (!(mBaseParams instanceof PayAndBackParams)) ? new PayAndBackParams()
        : (PayAndBackParams) mBaseParams;
    params.setTitle(getString(R.string.payAndRefund));
    params.setPageType(PayAndBackParams.TYPE_DETAIL);
    return PayAndBackFragment.newInstance(params, new PayAndBackFragment());
  }
}


